@extends('Admin/layout.layout')
@section('title')
	<title>栏目信息修改</title>
@endsection


@section('con')
<div class="row"> 
   <div class="col-lg-12"> 
    <h1 class="page-header">修改栏目信息</h1> 
   </div> 
   <!-- /.col-lg-12 --> 
  </div> 
  <!-- /.row --> 
  <div class="row"> 
   <div class="col-lg-12"> 
    <div class="panel panel-default"> 
     <div class="panel-heading">
      
     </div> 
     <div class="row">
      
     </div> 


     <div class="panel-body"> 
      <div class="row col-xd-4 col-xd-offset-4"> 
       <div class="col-md-6 col-md-offset-3">
      
       <div class="col-md-6 col-md-offset-3">
     
        <form role="form" action="{{url('/admin/type/update')}}" method="post"> 
        <div class="form-group">
        @if($res->status == 1)
        <button class="btn btn-default" type="button">当前是 --显示-- 状态</button>
        <br>
        @elseif($res->status ==0)
        <button class="btn btn-default" type="button">当前是 --关闭显示-- 状态</button><br>	
		@endif
		<br><br>
        <label>是否显示</label>
        <select class="form-control" name="status">
            <option value="0">不显示</option>
            <option value="1" selected >显示</option>
            
		
        </select>
    	</div>
         <div class="form-group"> 
          <label>栏目名称</label> 
          <input class="form-control" name="name" value="{{$res->name}}"> 
          <input type="hidden" name="id" value="{{$res->id}}">
         </div class="row col-md-6 col-offset-3"> 
         <button class="btn btn-success" type="submit">确定</button>
         {{csrf_field()}}
         
       </form>
         <div class="form-group"> 
         </div>  
       <!-- /.col-lg-6 (nested) --> 
       </div>
       </div>
      </div> 
      <!-- /.row (nested) --> 
     </div> 
     <!-- /.panel-body --> 
    </div> 
    <!-- /.panel --> 
   </div> 
   <!-- /.col-lg-12 --> 
  </div> 
  <!-- /.row --> 
           


@endsection

